﻿using System;
using SmartSSO.Entities;
using SmartSSO.Services.Util;

namespace SmartSSO.Services.Impl
{
    /// <summary>
    /// 用户操作服务实现类，继承自服务上下文类ServiceContext
    /// </summary>
    public class UserOperateService : ServiceContext, IUserOperateService
    {
        public void Create(UserOperateEntity model)
        {
            DbContext.UserOperateEntity.Add(model);
            DbContext.SaveChanges();
        }
    }
}